package android.view;

import android.os.Binder;
import android.os.IBinder;
import android.os.IInterface;

/**
 * @author hdz
 * @date 2018/12/26
 */
public interface IRotationWatcher extends IInterface {

    abstract class Stub extends Binder implements IRotationWatcher {
        private static final String DESCRIPTOR = "android.view.IRotationWatcher";

        protected Stub() {
            attachInterface(this, DESCRIPTOR);
        }

        @Override
        public IBinder asBinder() {
            return this;
        }
    }

    void onRotationChanged(int i);
}